<template>
  this is child : {{ fromTop }}
</template>


<script setup>
import {inject} from 'vue';

const fromTop = inject('key')


</script>